//
//  GMTextView.m
//  Teecloud
//
//  Created by 小熊 on 2018/11/1.
//  Copyright © 2018年 小志. All rights reserved.
//

#import "GMTextView.h"
@interface GMTextView ()

@end
@implementation GMTextView

-(void)awakeFromNib{
    [super awakeFromNib];
    [self.textView zj_setPlaceholderWithText:@"评论内容至少4个字，评分最少1分" Color:kLightGrayColor];
}
- (void)setIsNotStar:(BOOL)isNotStar{
    _isNotStar = isNotStar;
    if (!isNotStar) {
         [self.textView zj_setPlaceholderWithText:@"评论内容至少4个字" Color:kLightGrayColor];
    }
}
- (void)setTempStr:(NSString *)tempStr{
    _tempStr = tempStr;
    [self.textView zj_setPlaceholderWithText:tempStr Color:kLightGrayColor];
}
@end
